package com.ruoyi.erp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 固定费用支出对象 erp_fixed_fee
 *
 * @author yanwenliang
 * @date 2024-12-30
 */
@Data
@TableName("erp_fixed_fee")
public class ErpFixedFee extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @TableId(type = IdType.ASSIGN_ID)
    private String fixedFeeId;

    /** 归属人 */
    @Excel(name = "归属人")
    private String ascriptionUser;

    /** 费用类型 */
    @Excel(name = "费用类型")
    private String feeType;

    /** 费用归属 */
    @Excel(name = "费用归属")
    private String feeAscription;

    /** 归属部门 */
    @Excel(name = "归属部门")
    private Long ascriptionDept;

    /** 归属组 */
    @Excel(name = "归属组")
    private String ascriptionGroup;

    /** 归属人 */
    @Excel(name = "归属人")
    private String userId;

    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 金额
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date month;

    /** 删除标记（0 未删除 1 删除） */
    private String delFlag;

    @TableField(exist = false)
    private String ascriptionUserName;

    @TableField(exist = false)
    private String ascriptionDeptName;
}
